import router from '../routerInstance'
import CourseController from '../../controller/CourseController'

router.prefix('/course')

//通过ID获取课程信息
router.get('/getCourseInfoById', CourseController.getCourseInfoById)

//获取课程列表接口
router.get('/getCourseList', CourseController.getCourseList)

//保存课程信息接口
router.post('/saveCourseInfo', CourseController.saveCourseInfo)

export default router
